let path = require('path');
let {toUnixPath} = require('../utils');
let cwd = toUnixPath(process.cwd());
console.log(cwd);
let entry1 = toUnixPath(path.join(cwd,'./src/entry1.js'));
console.log(entry1);
console.log(path.posix.relative(cwd,entry1));//强制路径分隔符使用/